﻿<%@ Page Title="Title" Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
    Inherits="System.Web.Mvc.ViewPage<FullControlQuestion>" %>

<%@ Import Namespace="ControlModule.Models" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Прохождение л/р
</asp:Content>
<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="server">
    <% using (Html.BeginForm())
       { %>
    <table>
        <tr>
            <td colspan="2">
                <%= Html.HiddenFor(m => m.QuestionId) %>
            </td>
        </tr>
        <tr>
            <td>
                Текст вопроса
            </td>
            <td>
                <%= Html.Label(Model.QuestionText) %>
            </td>
        </tr>
        <tr>
            <td>
                Ответ
            </td>
            <td>
                <%= Html.TextAreaFor(m => m.AnswerText, new {cols = 80, rows = 12}) %>
            </td>
        </tr>
    </table>
    <input type="submit" value="Далее" />
    <% } %>
</asp:Content>
